package com.iee.patterns.example.strategy.invoker.service;

import com.iee.patterns.example.strategy.invoker.annotion.SocketCmd;
import com.iee.patterns.example.strategy.invoker.annotion.SocketModule;

/**
 *@ClassName UserService
 *@Description 用户模块
 *@Author longxiaonan@163.com
 *@Date 2021/6/30 0030 16:59
 */
@SocketModule(module = 1)
public interface UserService {

    /**
     * 登陆
     */
    @SocketCmd(cmd = 1)
    void login();

    /**
     * 获取信息
     */
    @SocketCmd(cmd = 2)
    void getInfo();
}
